<?php
//php判断客户端是否为手机
$durl = $_SERVER["REQUEST_URI"]."?mode=wap";
$agent = $_SERVER["HTTP_USER_AGENT"];
if(strpos($agent,"NetFront") || strpos($agent,"iPhone") || strpos($agent,"MIDP-2.0") || strpos($agent,"Opera Mini") || strpos($agent,"UCWEB") || strpos($agent,"Android") || strpos($agent,"Windows CE") || strpos($agent,"SymbianOS")) 
{
    header("Location:$durl");
}else{
    //header("Location:$durl");
    //echo ($durl);
    //die();
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="utf-8" /> 
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><wk:global name="cfg_webname"/></title>
<meta name="Keywords" content="<wk:global name='cfg_keywords'/>" />
<meta name="Description" content="<wk:global name='cfg_description'/>" />
<link rel="shortcut icon" href="__THEME__/images/favicon.ico" type="image/x-icon" />
<script src="__THEME__/js/RunActiveContent.js" type="text/javascript"></script>
<script src="__THEME__/js/openWin.js" type="text/javascript"></script>
<link rel="stylesheet" href="__THEME__/js/style.css" type="text/css"/>
</head>
<body onResize="Changing('DFull','DInfo')" onLoad="Loadd('DFull','DInfo','0');" onmousemove="if(IsIE) return;Moveing(event,'');" onmousedown="if(IsIE) return;Clicking(event,'#FFFFFF');" onmouseup="if(IsIE) return;IsD=false;this.releaseCapture();$('ScrollbarHandle').style.backgroundColor='#666666';"> 
<div id="DFull" class="DFull" ></div> 
<div id="DInfo" class="DInfo" > 
<ul id="utitle" class="utitle"> 
	<li id="lititle" class="lititle"></li> 
	<li id="liclose" class="liclose"><a href="javascript:void(0);" onClick="Closeing('DFull','DInfo');" onFocus="this.blur();"></a></li> 
	<li id="liline" class="liline"></li> 
	<li id="liinfo" class="liinfo"></li> 
	<li id="liScrollbar" class="liScrollbar"> 
		<div class="ScrollbarHandle" id="ScrollbarHandle" onMouseMove="this.style.backgroundColor = '#FFFFFF';Moveing(event,'');" onMouseOut="this.style.backgroundColor = '#666666';" onMouseDown="Clicking(event);" onMouseUp="this.style.backgroundColor = '#666666';IsD=false;this.releaseCapture();"></div> 
	</li> 
</ul> 
</div> 
<script type="text/javascript"> 
    var reshost='<?php
//获取当前的域名:  
echo $_SERVER['SERVER_NAME'];  
?>__ROOT__';
    var xmlhost='<?php
//获取当前的域名:  
echo $_SERVER['SERVER_NAME'];  
?>__ROOT__';     
    AC_FL_RunContent( 
    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0', 
    'width', '100%', 
    'height', '100%', 
    'quality', 'high', 
    'pluginspage', 'http://get.adobe.com/flashplayer', 
    'id', 'index', 
    'wmode', 'transparent', 
    'allowFullScreen', 'true', 
    'allowScriptAccess', 'always', 
    'swLiveConnect', 'true', 
    'src','__THEME__/index?'+Math.random()+'&vip=yes&reshost='+reshost+'&xmlhost='+xmlhost, 
    'movie','__THEME__/index?'+Math.random()+'&vip=yes&reshost='+reshost+'&xmlhost='+xmlhost 
    ); 
</script> 
 
<div class="ycnone"> 

<a href="__ROOT__?mode=wap"><wk:global name="cfg_webname"/></a> 
<strong>&nbsp;&nbsp;&nbsp;&nbsp;[技术支持：<h1><a href="http://www.pppon.com" title="flash网站源码下载">flash网站源码下载</a></h1>]</strong> 
</div> 

</body>
</html>